package com.example.micro_property_springboot.pojo.DTO.request;


import com.example.micro_property_springboot.pojo.AssetInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 资产盘点差异处理请求参数
 */
@Data
@Schema(description = "资产盘点差异处理请求参数")
public class AssetCheckDiffHandleRequest {
    @NotBlank(message = "差异原因不能为空")
    @Schema(description = "差异原因", required = true)
    private String reason;

    // 盘盈时需要提供资产信息
    @NotNull(message = "资产信息不能为空")
    @Schema(description = "资产信息", required = true)
    private AssetInfo assetInfo;
}